﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ExcellentCRM.DataService.Models
{
    /// <summary>
    /// 签到记录表
    /// </summary>
    public class AttendanceRecord : BaseModel
    {
        public long StuClientId { get; set; }

        /// <summary>
        /// 签到时间
        /// </summary>
        [DataType(DataType.DateTime)]
        public DateTime AttendTime { get; set; }

        [ForeignKey("StuClientId")]
        public StuClient StuClient { get; set; }
    }
}